﻿<UserControl x:Class="HolisticWare.VoIP.Getafisk.EXE_01PL_05netfx30.SL30.any_any_any.UserControls.SilverlightControlExtensions"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	d:DesignHeight="300" d:DesignWidth="400"
	xmlns:datagrid="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data" 
	xmlns:dataform="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.DataForm.Toolkit" 
	xmlns:input="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Input.Toolkit" 
	xmlns:desc="clr-namespace:System.Windows.Data;assembly=System.Windows"
>
	<StackPanel x:Name="LayoutRoot">
		<!--
		<ContentControl Content="DataGrid, DataForm, and DataPager provide a Master-Details UI" Style="{StaticResource Header}"/>
		-->
		<CheckBox x:Name="checkBox" Content="Batch Insert Mode"/>
		<StackPanel 
			Orientation="Horizontal" 
			>
			<StackPanel Orientation="Vertical">
			<datagrid:DataGrid 
				Name="Master" 
                ItemsSource="{Binding Path=Extensions}" 
				RowEditEnded="DataGrid_RowEditEnded"
				>
			</datagrid:DataGrid>
			<datagrid:DataPager 
				Source="{Binding}" PageSize="10"
			/>
			</StackPanel>
			<dataform:DataForm 
				x:Name="Details" Header="Details" 
				Margin="4"
				ItemsSource="{Binding }"
				CommandButtonsVisibility="All"
				AutoGenerateFields="True"
				AutoEdit="True"
				>
			</dataform:DataForm>
		</StackPanel>
	</StackPanel>
</UserControl>
